package com.qyer.lxp.model.product.parameter;

import com.qyer.lxp.common.framework.adapter.DateAdapter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;
import java.util.Date;

/**
 * 获取产品信息输入参数
 * Created by wangzhen on 16/5/18.
 */
@XmlRootElement(name = "product-detail-request")
@XmlAccessorType(XmlAccessType.FIELD)
public class ProductInfoRequest implements Serializable {
    private static final long serialVersionUID = 1780697030593715103L;

    /**
     * 产品 code
     */
    @XmlElement(name = "product-code")
    private String productCode;

    /**
     * 币种 CNY
     */
    @XmlElement(name = "currency")
    private String currency;

    /**
     * 是否同时返回销售项目信息
     */
    @XmlElement(name = "need-sale-info")
    private String needSaleInfo;

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getNeedSaleInfo() {
        return needSaleInfo;
    }

    public void setNeedSaleInfo(String needSaleInfo) {
        this.needSaleInfo = needSaleInfo;
    }


}
